package com.hc.oauthresources.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.security.RolesAllowed;


@RestController
@RequestMapping("order")
public class OrderController {

    @RequestMapping("findAll")
    //@RolesAllowed("order")
    public String findAll(){
        return "order";
    }
}
